Python code to data preprocessing and visualization

This notebook the data preprocessing and vaisulaization

The route sections (All, North, Middle, South, direct) can be selected by modifying the value of the following flag switch (nth_mid_sth_fg)

The inputs combination (0, 1, 2, 3) can be selected by modifying the value of the following flag switch (inp_idx)

This notebook is reproducible, the user just needs to chang the user_name in first cell.

Postprocessing the saved data

Plots relating to the cruising speed and acceleration

Plots of Eff and F1 Local or Global

Adding the Eff_new to df1, (Eff_new=1 - df1.F1_score)\

Then replacing the existing eff_score with Eff_new

Sorting the data df1 based on Eff_new, whrere the eff_score=Eff_new

Plot Eff-Score vs. SOG

Plot histograms of fuel, time, distance for different route sections

Calculate the fuel consumption in different sections on the route

Plot fuel from different parts

Plot Routes (just for illustration)

PDF for timeframes of the routes